package com.springboot.blog.entity.vo;

import com.springboot.blog.entity.Article;
import com.springboot.blog.entity.Category;
import com.springboot.blog.entity.Comment;
import com.springboot.blog.entity.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ArticleVO extends Article {
    private String name;
    private List<Comment> comments;
    private List<Tag> tags;
    private Category category;
}
